import request from "@/utils/request";

const api_name = "/admin/hosp/department";

export const getTree = (hoscode: string): any => {
	return request({
		url: `${api_name}/${hoscode}`,
		method: "get",
	});
};
